package nc.ui.hg.ic.ca.account;

import nc.ui.ca.pub.LongTimeTask;
import nc.vo.hg.ic.ca.account.NumAccountVO;
import nc.vo.pub.lang.UFBoolean;

public class NumAccountHelper {
	private static String bo = "nc.bs.hg.ic.ca.account.NumAccountBO";
	public static NumAccountVO[] getAccounts(NumAccountVO account) throws Exception{
		Class[] ParameterTypes = new Class[]{NumAccountVO.class,UFBoolean.class};
		Object[] ParameterValues = new Object[]{account,UFBoolean.FALSE};
		return (NumAccountVO[])LongTimeTask.callRemoteService("ic",bo, "getAccounts", ParameterTypes, ParameterValues, 2);
	}
	public static NumAccountVO[] getAccounts(NumAccountVO account, String xhlx) throws Exception {
		Class[] ParameterTypes = new Class[]{NumAccountVO.class,UFBoolean.class,String.class};
		Object[] ParameterValues = new Object[]{account,UFBoolean.FALSE,xhlx};
		return (NumAccountVO[])LongTimeTask.callRemoteService("ic",bo, "getAccounts", ParameterTypes, ParameterValues, 2);
	}
}
